﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Actuals.CoreDomain
{
    [Serializable]
    public class Task : ITask
    {
        private int _taskId;

        private string _description;

        private int _initialEstimation;

        private int _currentEstimation;

        private int _elapsed;

        private int _remaining;

        private string _taskType;

        private string _taskShortName;

        private int _projectId;

        private int _releaseId;

        private int _status;

        private int _priority;

        public int TaskId
        {
            get { return _taskId; }
            set { _taskId = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int InitialEstimation
        {
            get { return _initialEstimation; }
            set { _initialEstimation = value; }
        }

        public int CurrentEstimation
        {
            get { return _currentEstimation; }
            set { _currentEstimation = value; }
        }

        public int Elapsed
        {
            get { return _elapsed; }
            set { _elapsed = value; }
        }

        public int Remaining
        {
            get { return _remaining; }
            set { _remaining = value; }
        }

        public string TaskType
        {
            get { return _taskType; }
            set { _taskType = value; }
        }

        public string TaskShortName
        {
            get { return _taskShortName; }
            set { _taskShortName = value; }
        }

        public int ProjectId
        {
            get { return _projectId; }
            set { _projectId = value; }
        }

         public int ReleaseId
        {
            get { return _releaseId; }
            set { _releaseId = value; }
        }

         public int Status
         {
             get { return _status; }
             set { _status = value; }
         }

         public int Priority
         {
             get { return _priority; }
             set { _priority = value; }
         }
    }
}
